package com.huawei.appmarket.framework.titleframe.title;

import android.app.Activity;
import android.view.View;
import android.widget.LinearLayout;
import com.huawei.appgallery.foundation.ui.framework.titleframe.bean.BaseTitleBean;
import com.huawei.appmarket.framework.widget.FixedSearchView;
import o.ewm.c;
import o.ewm.d;
import o.ewm.j;

public class SearchBoxTitle extends WiseDistBaseTitle {
    public SearchBoxTitle(Activity activity, BaseTitleBean baseTitleBean) {
        super(activity, baseTitleBean);
    }

    public String ᐝ() {
        return "searchbox";
    }

    protected boolean ॱˊ() {
        return false;
    }

    protected boolean ͺ() {
        return false;
    }

    protected boolean ˏॱ() {
        return false;
    }

    protected boolean ˊॱ() {
        return false;
    }

    protected View ॱˎ() {
        View fixedSearchView = new FixedSearchView(this.ˋ);
        LinearLayout linearLayout = (LinearLayout) fixedSearchView.findViewById(j.ʻᶫ);
        if (linearLayout != null) {
            linearLayout.setPadding(this.ˋ.getResources().getDimensionPixelSize(d.ʾ), 0, this.ˋ.getResources().getDimensionPixelSize(d.ʿ) - this.ˋ.getResources().getDimensionPixelSize(d.ᐧ), 0);
        }
        fixedSearchView.setTitleBean(this.ˎ);
        return fixedSearchView;
    }

    protected int ʼ() {
        return c.ˋˊ;
    }
}
